// 全局公共常量映射
export const alertGradeOptions: any = {
  INFO: {
    name: '一般',
    tagType: ''
  },
  WARN: {
    name: '告警',
    tagType: 'warning'
  },
  ERROR: {
    name: '紧急',
    tagType: 'danger'
  }
}

export const statusOptions: any = {
  '0': {
    name: '未处理',
    dotType: 'red-color'
  },
  '1': {
    name: '已处理',
    dotType: 'green-color'
  },
  '2': {
    name: '无需处理',
    dotType: 'gray-color'
  }
}

export const points : any = [
  
    {
      equipmentId: 1,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '58%', left: '20%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 58 * 20,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 2,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '55%', left: '30%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 55 * 30,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 3,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '54%', left: '40%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 54 * 40,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 4,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '49%', left: '45%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 49 * 45,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 5,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '44%', left: '50%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 44 * 50,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 6,
      name: "可燃气体报警仪",
      locationId: 0,
      position: { top: '63%', left: '36%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 63 * 36,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "可燃气体报警仪",
      hasAi: true,
    },
    {
      equipmentId: 7,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '70%', left: '36%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 70 * 36,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
    {
      equipmentId: 8,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '62%', left: '50%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 62 * 50,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
    {
      equipmentId: 9,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '55%', left: '60%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 55 * 60,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
    {
      equipmentId: 10,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '50%', left: '65%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 50 * 65,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
    {
      equipmentId: 11,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '70%', left: '60%' },
      location: "",
      wsMsg: [{}],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 70* 60,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
    {
      equipmentId: 12,
      name: "四氯化碳报警仪",
      locationId: 0,
      position: { top: '65%', left: '65%' },
      location: "",
      wsMsg: [{
        // alertGrade: "ERROR"
        // handleStatus: '0'
      }],
      popoverVisible: false,
      status: "onLine",
      equipmentLocationCode: "一区",
      editId: 65* 65,
      id: null,
      type: '监控设备',
      eqModel: '球机',
      direction: '球机',
      eqCode: "四氯化碳报警仪",
      hasAi: true,
    },
]
